package com.sikaryofficial.backend.domain.dto.req.brandspecial;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.sikaryofficial.system.api.model.att.AttachmentResp;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;
import java.util.List;

/**
 * 品牌专栏对象 brand_special_t
 *
 * @author qinjinyuan
 * @date 2024-05-14
 */
@Getter
@Setter
@ToString
@ApiModel(value = "内容删除请求入参", description = "内容删除请求入参")
public class BrandSpecialReq {
    /**
     * 品牌专栏ID
     */
    @ApiModelProperty(value = "品牌专栏ID")
    private Long brandSpecialId;

    @ApiModelProperty(value = "品牌头像")
    private String avatar;

    @ApiModelProperty(value = "品牌背景图")
    private String backImg;

    /**
     * 品牌编码
     */
    @ApiModelProperty(value = "品牌编码")
    @Length(min = 1, max = 20, message = "品牌编码长度不能超过20")
    @NotBlank(message = "品牌不能为空")
    private String brandNo;

    @JsonIgnore
    private Long authorId;
    /**
     * 品牌介绍
     */
    @ApiModelProperty(value = "品牌介绍")
    @Length(max = 5000, message = "品牌介绍长度不能超过5000")
    private String introduction;

    @ApiModelProperty(value = "附件列表")
    private List<AttachmentResp> attachmentList;
}
